package com.sunkyc.framework.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 菜单祖级id表
 * </p>
 *
 * @author sunkyc
 * @since 2022-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_menu_ancestors")
@ApiModel(value="SysMenuAncestors对象", description="菜单祖级id表")
public class SysMenuAncestors implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单id")
    @TableId(value = "menu_id", type = IdType.INPUT)
    private Long menuId;

    @ApiModelProperty(value = "祖级id")
    private Long menuAncestorId;


}
